package com.small.xx.ai.apidoc.dto;

/**
 * 应用服务请求DTO
 */
public class AppServiceRequest {
    
    /**
     * 应用服务名称
     */
    private String name;
    
    /**
     * 应用服务描述
     */
    private String description;
    
    /**
     * 服务器IP地址
     */
    private String ipAddress;
    
    /**
     * 服务器端口
     */
    private Integer port;
    
    /**
     * 协议 (HTTP/HTTPS)
     */
    private String protocol = "http";
    
    /**
     * 上下文路径
     */
    private String contextPath = "/";
    
    /**
     * 是否启用
     */
    private Boolean enabled = true;
    
    // Constructors
    public AppServiceRequest() {}
    
    public AppServiceRequest(String name, String ipAddress, Integer port) {
        this.name = name;
        this.ipAddress = ipAddress;
        this.port = port;
    }
    
    // Getters and Setters
    public String getName() {
        return name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    
    public String getDescription() {
        return description;
    }
    
    public void setDescription(String description) {
        this.description = description;
    }
    
    public String getIpAddress() {
        return ipAddress;
    }
    
    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }
    
    public Integer getPort() {
        return port;
    }
    
    public void setPort(Integer port) {
        this.port = port;
    }
    
    public String getProtocol() {
        return protocol;
    }
    
    public void setProtocol(String protocol) {
        this.protocol = protocol;
    }
    
    public String getContextPath() {
        return contextPath;
    }
    
    public void setContextPath(String contextPath) {
        this.contextPath = contextPath;
    }
    
    public Boolean getEnabled() {
        return enabled;
    }
    
    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }
}